//
//  CourseStudyCell.h
//  ShowYork
//
//  Created by hxh on 2020/9/1.
//  Copyright © 2020 hxh. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LessonPlanModel.h"
#import "ExercisesPageModel.h"
NS_ASSUME_NONNULL_BEGIN

@protocol LessonStudyItemCellDelegate <NSObject>

@optional
- (void)didSelectedAtCurrentModel:(LessonPlanModel *)model;
- (void)startExercieseAtCurrentModel:(LessonPlanModel *)model;
- (void)showCourseDetailAtCurrentModel:(LessonPlanModel *)model;
@end

@interface LessonStudyItemCell : UITableViewCell

@property (nonatomic,weak)id<LessonStudyItemCellDelegate>delegate;
+(instancetype)cellWithTableView:(UITableView *)tableView;

- (void)setPlanModel:(LessonPlanModel *)planModel andPaperModel:(ExercisesPageModel *)paperModel;

@end

NS_ASSUME_NONNULL_END
